<!DOCTYPE html>
<html>
<head>
	<title>查看栏目</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url('style/admin/css/public.css')?>">
</head>
<body>
	<table class="table">
		<tr>
			<td class="th" colspan="10">查看栏目</td>
		</tr>
		<tr>
			<td>CID</td>
			<td>栏目名称</td>
			<td>操作</td>
		</tr>

		<?php foreach($editor as $v): ?>
		<tr>
			<td><?php echo $v['cid']?></td>
			<td><?php echo $v['cname']?></td>
			<td>
				[<a href="<?php echo site_url('admin/editor/editor_add/' . $v['cid']) ?> ">编辑</a>]
				<!-- <?php echo site_url('admin/category/edit_cate/' . $v['cid']) ?> -->
				[<a href="<?php echo site_url('admin/editor/column_del/' . $v['cid'])?>">删除</a>]
			</td>
		</tr>
		<?php endforeach?>
	</table>
</body>
</html>